package com.ruoyi.fts.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 书籍目录对象 fts_book_catalogue
 *
 * @author lumberer
 * @date 2024-11-20
 */
@Data
@TableName("fts_book_catalogue")
public class FtsBookCatalogue extends BaseEntity{
private static final long serialVersionUID = 1L;

    /** 标识 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /** 书籍id */
    @Excel(name = "书籍id")
    private Long bookId;
    /** 目录名称 */
    @Excel(name = "目录名称")
    private String title;
    /** 目录颜色 */
    @Excel(name = "目录颜色")
    private String color;
    /** 目录描述 */
    @Excel(name = "目录描述")
    private String subtitle;
    /** 目录描述颜色 */
    @Excel(name = "目录描述颜色")
    private String subtitleColor;
    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUserId;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date udpateTime;
    /** 更新人id */
    @Excel(name = "更新人id")
    private Long updateUserId;
}